<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width= , initial-scale=1.0">
    <title>Document</title>
    <style>
        .block{
            background-color: aqua;
        }
        .inline{
            background-color: brown;
        }
        .inline-block{
            width: 100px;
        }
        .div-inline{
            display: inline;
            background-color: blue;
        }
        .span-inline-block{
            display: inline-block;
            background-color: blueviolet;
            width: 300px;
        }
    </style>
</head>fatkun
<body>
    <h1 style="font: bolder 20px 'KaiTi';">这是一个font复合属性示例</h1>
    <p style="line-height: 40px;">这是一段长文本</p>

    <div class="block">这是一个块级元素</div>
    <span class="inline">这是一个行内元素</span>
   <img src="R-C.jpg" alt="" class="inline-block">
   <img src="R-C.jpg" alt="" class="inline-block">
   <img src="R-C.jpg" alt="" class="inline-block">
   <h2>display</h2>
   <div class="div-inline">这是一个转换成行内元素的div元素</div>
   <span class="span-inline-block">这是一个转换成行内块元素的span标签</span>
</body>
</html>